package reusingclass;

public class Exercise13 {
	public static void main(String[] args) {
		Ex13Temp2 temp = new Ex13Temp2();
		temp.f();
		temp.f(2.2f);
		temp.f(3);
		temp.f("hello");
	}
}

class Ex13Temp1 {

	public void f() {
		f("Ex13Temp1.f()");
	}

	public void f(String s) {
		System.out.println(s);
	}

	public void f(int i) {
		System.out.println(i);
	}
}

class Ex13Temp2 extends Ex13Temp1 {
	public void f(float f) {
		System.out.println(f);
	}
}
